import Vue from "vue";
import App from "./App.vue";
import router from "./router/index";
import axios from "axios";
// import request from "./api";
import Element from "element-ui";

import "element-ui/lib/theme-chalk/index.css";
import "@/styles/index.less";
import "./packages";

Vue.config.productionTip = false;

window.Vue = Vue;
window.axios = axios;
window["element-ui"] = Element;

window["$event"] = new Vue();
window["jsonConfig"] = {};

// Vue.use(request);
Vue.use(Element, {
  size: "medium",
});

new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
